﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="CmnTab.ascx.cs" Inherits="MvcApplication5.Views.Control.CmnTab" %>
<script src="../../Scripts/Control/CmnTab.js" type="text/javascript"></script>
<link href="../../Content/Control/CmnTab.css" rel="stylesheet" type="text/css" />
<div>
    <div id="cmnTab_div" class="tab" runat="server">
        <ul>
            <li id="cmntab_li_0" runat="server">
                <a  class="selected" menu_id="0">
                    <span class="selected">空白页 </span>
                </a>
            </li>
        </ul>
    </div>
    <div id="cmnTab_main" class="tabbody" runat="server">
        <div class="sub_cmnTab_main" id="sub_cmnTab_main_0" menu_id="0" runat="server">
        </div>
    </div>

  
</div>
<script type="text/javascript">
    function CmnTab_Page_Load() {
        <%= GetJSInstance()%> = new CmnTab();
        var cmnTabIns = <%= GetJSInstance()%>;

        cmnTabIns.dom.cmnTab_div = "<%= cmnTab_div.ClientID%>";
        cmnTabIns.dom.cmntab_li_0 = "<%= cmntab_li_0.ClientID%>";
        cmnTabIns.dom.cmnTab_main = "<%= cmnTab_main.ClientID%>";
        cmnTabIns.dom.sub_cmnTab_main_0 = "<%= sub_cmnTab_main_0.ClientID%>";

        cmnTabIns.dom.clientID = "<%= this.ClientID %>";

        cmnTabIns.init();
    }

    CmnTab_Page_Load();
</script>
